package com.rxmvp.rxmvpdemo.global;

import android.app.Application;

import com.rxmvp.rxmvpdemo.App;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * 作者： huangRZ on 2017/1/21. 15:04
 * 邮箱：917647409@qq.com
 */
@Module
public class AppModule {

    @Singleton
    @Provides
    public Application getApplication(){
        return App.getApp();
    }

}
